//-----------------------------------------------------------------------------
// MEKA - rapidfir.h
// Rapid Fire Emulation/Simulation - Headers
//-----------------------------------------------------------------------------

//-----------------------------------------------------------------------------
// Definitions
//-----------------------------------------------------------------------------

#define RAPIDFIRE_J1B1          (1)
#define RAPIDFIRE_J1B2          (2)
#define RAPIDFIRE_J2B1          (4)
#define RAPIDFIRE_J2B2          (8)

//-----------------------------------------------------------------------------
// Data
//-----------------------------------------------------------------------------

extern int RapidFire;
extern int RapidFire_Count;

//-----------------------------------------------------------------------------
// Functions
//-----------------------------------------------------------------------------

void    RapidFire_Init          (void);
void    RapidFire_Update        (void);

void    RapidFire_Switch_J1B1   (void);
void    RapidFire_Switch_J1B2   (void);
void    RapidFire_Switch_J2B1   (void);
void    RapidFire_Switch_J2B2   (void);

//-----------------------------------------------------------------------------

